home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
steph1b0
/
editor.doc
< prev
next >
Wrap
Text File
|
1994-09-13
|
1KB
|
31 lines
----------------------------------------------------------------------
The E D I T O R example program.
----------------------------------------------------------------------
The editor program is designed to show how an application program can be
written to use the Steph libraries. The editor is extremely simple, but
demonstrates the way in which action, filter and mouse functions are
used. For an example of more of Steph's menuing, dialogue box, toolbar
capabilities, etc. see the example program DEMO.C.
The file EDITOR.C should be compiled and linked with EDITFN.C and a
Steph library such as STEPH_M.LIB.
EDITOR.C sets up a simple text mode Steph screen with two windows. Each
window contains independant editors, demonstrating that the windows can
share the editor code.
The functions in EDITFN.C are attached to the windows by means of the
keyboard filter and action functions, and a set of mouse action
functions.
Please feel free to adapt the editor code for use in your own programs
if you wish.
SDM, September 1994.